Conversation
…ake a new release config so it builds in linux in debug + rel mode (sandbox being 4.7.x)
…rdInterop to try multiple paths (this is cleaner to do using a new pathloader in NativeLibrary over default). Add Dockerfile to test all nix works
…nt find a 1.3.8 build)
…n and version of copied binary. Cleanup interop message to detect alpine via its own version file.
|
@bp74 I've tested (run Contains And would resolve #8 But would make #9 a non-working scenario. All depends how much you want / need to support out of maintenance release? |
|
the pathing needs jiggling |
…d in dotnet clr with a slice of the loader from NativeLibraryLoader
|
@bp74 @tom-corwin At the current state of the branch it works.
Which all seems reasonable tbh. |
|
I might have a solution to copying the alpine/debian binaries, with some code in one of my projects. I'll can work on that here in a bit, if you're interested.
I'm not sure if that was a previous typo in the code or just the comment in the first line of the code block above: Error loading shared library liblibzstd: No such file or directory. |
|
Yeah the liblib outputs weird but as i believe it's saying lib:libzstd as in lib path module |
|
Ahh, that makes sense. |
|
Seems alright. It's not a great ask for people on nix to have the libs needed. |
|
If you wanted to have the binaries copied (as needed) inside the code, rather than making another step for the end user, you could determine the Platform/OS/Version/RID using the code from (this gist)[https://gist.github.com/tom-corwin/763cc4af64a2dad295c7758d6a9df8e4] |
|
@tom-corwin i'd be inclined to agree but for the security issue; if the containers running --read-only the process would crap out. |
|
Heads up - switching to the NativeLibrary w/ function calls, causes windows to evaluate permissions on the dll on every single call. This adds a kernel call and disk touch on every single call into the api. The built in PInvoke style with a zstdlib.so in the Path should get things working nicely. |
|
Hey! There is my problem. I have netcore 3.1 application (developed in VS 2019) with referenced ZStandard.Net package from current branch. I run app in linux docker container (Docker Desktop for Windows) and got runtime exception when decompress data:
Steps I did:
What I am doing wrong? Why library still not found? |





Adds libload support for net core on nix and binaries required to work.